using System;

namespace Beeflys
{
    static class Logger
    {
        public static ILogger Current { get; set; } = new DefaultLogger();
    }

    public interface ILogger
    {
        bool IsEnabled(LogLevel level);

        void Info(string text);

        void Debug(string text);

        void Warn(string text);

        void Error(string text);
    }

    [Flags]
    public enum LogLevel
    {
        INFO,
        DEBUG,
        WARN,
        ERROR,
    }
}
